home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000114-20000217
/
000256_news@columbia.edu _Wed Feb 16 15:10:18 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA03187
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 16 Feb 2000 15:10:18 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA17706
for kermit.misc@watsun.cc.columbia.edu; Wed, 16 Feb 2000 05:10:47 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: "AMT" <amt.4243@wanadoo.fr>
Subject: PB with scrip Kermit programming
Date: Wed, 16 Feb 2000 11:17:25 +0100
Organization: AMT
Message-ID: <88dt3b$h9d$1@wanadoo.fr>
To: kermit.misc@columbia.edu
who can tell me ho to customize the command file to execute the same
commands on n nodes on a network ?
I work on an hp/ux 10.01 workstation
i want to make automatically a command on three nodes (for example). if the
second node is down or doesn't exists my script doesn't continue and the
third node is never treated.
#!/usr/bin/ksh
cat /etc/hosts.6521 | while read LIGNE
do
EQUIP=`echo $LIGNE | awk '{print $2}'`
CMDE="set host $EQUIP, take /softs/AMT/bin/mhker"
kermit -C "$CMDE";
echo i have tested $LIGNE
done
the file mhker :
def unix do vax, set term byte 7
set input echo off
set input case ignore
set input silence 1
set terminal autodownload on
set terminal bytesize 7
set terminal character-set latin1-iso
set terminal escape-character enabled
set terminal height 25
set terminal width 80
set terminal echo remote
set file collision rename
set file type binary
set transfer bell on
set transfer character-set transparent
set receive packet-length 94
set attributes on
set window 1
set file type binary
set telnet echo remote
set exit warning off
input 1 OK
output {ATDS\13}
input 1 OK
output {\13}
input 1 OK
output {\13}
input 1 OK
output {12.5.2.y\13}
input 1 OK
exit
thank you for your help